package top.lyunz.fangkeji.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.lyunz.fangkeji.bean.Fuser;
import top.lyunz.fangkeji.bean.pageselect;
import top.lyunz.fangkeji.mapper.fuserMappre;
import top.lyunz.fangkeji.service.fuserService;
@Service
public class fuserServiceImpl implements fuserService {
	@Autowired
	private fuserMappre fuserMappre;
	@Override
	public int fuserAdd(Fuser fuser) {
		// TODO Auto-generated method stub
		return fuserMappre.fuserAdd(fuser);
	}
	@Override
	public int updateFuser(Fuser fuser) {
		// TODO Auto-generated method stub
		return fuserMappre.updateFuser(fuser);
	}
	@Override
	public int delFuser(int uid) {
		// TODO Auto-generated method stub
		return fuserMappre.delFuser(uid);
	}
	
	@Override
	public int updbByuTel(Fuser fuser) {
		// TODO Auto-generated method stub
		return fuserMappre.updbByuTel(fuser);
	}
	@Override
	public int batchUpdEidByCid(Fuser fuser) {
		// TODO Auto-generated method stub
		return fuserMappre.batchUpdEidByCid(fuser);
	}
	@Override
	public List<Fuser> getFuserBypage(pageselect pageselect) {
		// TODO Auto-generated method stub
		return fuserMappre.getFuserBypage(pageselect);
	}
	@Override
	public List<Fuser> getFusersAllByCid(int cid) {
		// TODO Auto-generated method stub
		return fuserMappre.getFusersAllByCid(cid);
	}
	@Override
	public Fuser getFuserByuId(int uId) {
		// TODO Auto-generated method stub
		return fuserMappre.getFuserByuId(uId);
	}
	@Override
	public List<Fuser> getlikeeidList(String eid) {
		// TODO Auto-generated method stub
		return fuserMappre.getlikeeidList(eid);
	}
	@Override
	public List<Fuser> getAllUnreviewedFuser(int cId) {
		// TODO Auto-generated method stub
		return fuserMappre.getAllUnreviewedFuser(cId);
	}
	@Override
	public List<Fuser> getFusersBycIdAndLikeuName(Fuser fuser) {
		// TODO Auto-generated method stub
		return fuserMappre.getFusersBycIdAndLikeuName(fuser);
	}
	@Override
	public List<Fuser> getByuTel(String tel) {
		// TODO Auto-generated method stub
		return fuserMappre.getByuTel(tel);
	}
	@Override
	public List<Fuser> getFuserGetbyTelAndUpwd(Fuser fuser) {
		// TODO Auto-generated method stub
		return fuserMappre.getFuserGetbyTelAndUpwd(fuser);
	}
	@Override
	public Fuser getFuserByCidAndUtel(Fuser fuser) {
		// TODO Auto-generated method stub
		return fuserMappre.getFuserByCidAndUtel(fuser);
	}
	@Override
	public Fuser getFuserBycidAnduIdentity(Fuser fuser) {
		// TODO Auto-generated method stub
		return fuserMappre.getFuserBycidAnduIdentity(fuser);
	}
	

}
